package main

import (
	"fmt"
	"os"
	"server/src/zyplog"
)

var g_log *zyplog.ZypLoger

func initGlobal() {
	if len(os.Args) > 1 {
		if os.Args[1] == "-v" {
			fmt.Println(VER)
			os.Exit(0)
		}
	}
}

func zLog(args ...interface{}) {
	g_log.Info(args...)
}

func zLogError(args ...interface{}) {
	g_log.Error(args...)
}
